package test;

import java.io.*;
import java.util.*;

public class FindPlural {

	static String corePath = "core47.tax";

	public static void main(String[] args) {
		try {
			FileInputStream fis = new FileInputStream(corePath);
			DataInputStream dis = new DataInputStream(fis);
			BufferedReader br = new BufferedReader(new InputStreamReader(dis, "unicode"));
			String line = br.readLine();
			String[] tmp;
			while (line != null && !line.equals("")) {
				line = line.toLowerCase();
				tmp = line.split("\t");
				if (tmp.length == 10) {
//					System.out.println(tmp[2]);
					if (tmp[2].indexOf("abnormal behaviors") != -1)
						System.out.println(tmp[2]);
					if (tmp[2].indexOf("ancient literatures") != -1)
						System.out.println(tmp[2]);
					if (tmp[2].indexOf("abnormal behavior") != -1)
						System.out.println(tmp[2]);
					if (tmp[2].indexOf("cities") != -1)
						System.out.println(tmp[2]);
				}
				line = br.readLine();
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
